package com.sky.mqtt;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Content: MQTT配置类
 * @Author: LS
 * @Date: 2023/10/13 11:10
 */
@Data
@Component
@ConfigurationProperties(prefix = "sky.mqtt")
public class MQTTProperties {
    private String broker;
    private String username;
    private String password;
    private String clientId;
    private String defaultTopic;
    private int qos;
    private Boolean clearSession;
    private int keepalive;
    private int timeout;
}
